<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
		<form action = "${pageContext.request.contextPath}/Back/order/OrderSelect">
		
			<table border="2" align="center" cellspacing="0" cellpadding="0">
				<tr>
					<td>订单号：</td>
					<td><input type="text" name="id"/></td>
				</tr>
				<tr style="text-align: center;"><td colspan="2"><button href="${pageContext.request.contextPath}/Back/order/OrderSelect?id=${t.id }">查询</button></td></tr>
			</table>
			
			<table cellspacing="0" align="center" border="2px"style="width: 100%;text-align: center;margin-top: 100px">
				<tr>
					<td colspan="7" style="text-align: center;">订单信息列表</td>
				</tr>
				<tr>
					<td>订单号</td>
					<td>客户名</td>
					<td>菜品名称</td>
					<td>订购数量</td>
					<td>订购时间</td>
					<td>是否派送</td>
					<td>确认订单</td>
				</tr>
				
					<tr>
						<td>${ordering.id }</td>
						<td>${ordering.customer }</td>
						<td>${ordering.name }</td>
						<td>${ordering.quantity }</td>
						<td>${ordering.time }</td>
						<td>${ordering.send_or_not}</td>
						<td>${ordering.confirm}</td>
					</tr>
			
			</table>
		</form>
</body>
</html>